package com.dailyblue.java.spring.ioc.demo5;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class DemoE {

    // 将产生出来的对象存放到IoC容器中
    @Bean
    public DemoC getDemoC(){
        return new DemoC();
    }
}
